package com.example.softwareengg;

import java.net.Socket;

import android.app.Application;

public class MyOverridenApp extends Application{
	
	static Socket client;
	static String username="";
	static String filenametobedownloaded;
	static String serverdata="";
	static String serverIP="";
	public static void setClient(Socket client)
	{
		MyOverridenApp.client = client;
	}
	public static Socket getClient()
	{
		return MyOverridenApp.client ;
	}
	
	public static void setUser(String user)
	{
		MyOverridenApp.username = user;
	}
	public static String getUser()
	{
		return MyOverridenApp.username ;
	}

	public static void setfilenametobedownloaded(String filename)
	{
		MyOverridenApp.filenametobedownloaded = filename;
	}
	public static String getfilenametobedownloaded()
	{
		return MyOverridenApp.filenametobedownloaded ;
	}

	public static void setserverdata(String filename)
	{
		MyOverridenApp.serverdata = filename;
	}
	public static String getserverdata()
	{
		return MyOverridenApp.serverdata ;
	}
	public static void setserverIP(String ip)
	{
		MyOverridenApp.serverIP = ip;
	}
	public static String getserverIP()
	{
		return MyOverridenApp.serverIP ;
	}

}
